package com.hbt.api.controller;

import com.hbt.api.entity.CommonResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ApiController {
    public ApiController() {
        System.out.println("apiController无参构造");
    }

    @RequestMapping("nologin")
    public CommonResult<String> nologin(){
        System.out.println("enter nologin");
        return new CommonResult<String>(111, "请先登录");
    }
}
